package com.devicestatus.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * @author MeowParse
 * @date 2017/8/14.
 */
public class Constants {

	public static String ACCESS_TOKEN = "token/";

	public static final Map<String, String> ACCESSJSON = new HashMap<String, String>(){{
		put("enterprise_id","96d09b9d8d8c4086bca6b0682c60e353");
		put("enterprise_secret","6e4fa5d6081e4ce4b0fa3d5caf5f5c73");}
	};

	public static final String URL_PRODUCT = "http://enterpriseapi.gizwits.com/v1/products/";
	public static final String URL_ACCESSTOKEN = "/access_token";
	public static final String URL_DEVICEDETAIL = "/device_detail";
	public static final String TOKEN = "token";
	public static final String PRODUCT_KEY = "product_key";
	public static final String IS_ONLINE = "is_online";
	public static final String ERROR_CODE = "error_code";
	public static final String PRODUCT_SECRET = "product_secret";
	public static final String CODE_5301 = "5301"; //token过期
	public static final String CODE_5011 = "5011"; //不存在

}
